
const Router = require('express')
const GroupController = require('../../group/controllers.js')
const router = Router()

/* 服务端 */
router.get('/group/list', GroupController.getGroupList)
/* 添加组织 */
router.post('/group/new', GroupController.createGroup)
// /* 拉取菜单信息 */
// router.get('/user/:id', GroupController.getOne)
// /* 删除菜单 */
// router.delete('/user/:id', GroupController.deleteOne)
// /* 更新菜单 */
// router.post('/user/:id', GroupController.updateOne)


/* 客户端 */
// router.get('/member', GroupController.getUsers)
// router.get('/member/:id', GroupController.memberGetBaseInfo)
// router.post('/member/login', GroupController.memberLoginAction)

module.exports = router
